home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / win / vb / vb2ext.exe / VB_2_EXT.TXT < prev   
Encoding:
Text File  |  1992-10-24  |  2.8 KB  |  53 lines

  1. VB_2_EXT  --  Visual Basic External References Manager
  2. ------------------------------------------------------
  3.  
  4.  
  5. VB_2_EXT provides a simple way of recycling Declare statements for
  6. external Subs and Functions (i.e. DLLs and system routines) from
  7. existing VB source code. In fact, it should help you streamline your
  8. Declares coding into a WORM process: Write Once, Recycle Many times.
  9.  
  10. I find myself using the same Declare statements over and over again.
  11. For each new project, I resort to having several text file open (API
  12. reference and the like) and cut and paste between them and my new project.
  13. There are great Help files out there which let you grab all of the API
  14. functions, but what about all these Declares for DLLs you've downloaded
  15. or bought and use regularly? VB_2_EXT handles them too.
  16.  
  17. The whole process is quite simple. The program reads all directory entries
  18. for a given drive (current drive upon startup; user selectable through
  19. a drive control) and finds all *.BAS (code) and *.GLO (global) files.
  20. The file names are displayed in a sorted list box. Double-clicking on
  21. a file name lists all Sub and Function names the file contains in a
  22. second, sorted list box. Clicking on a Sub and Function name enables a
  23. set of buttons for copying or appending the related Declare statement
  24. to the Clipboard. You can also view, edit and/or clear Clipboard contents.
  25. Once you've scrounged up all of your Declares from different source files,
  26. it's one simple Paste operation into your new Global Module and you've got
  27. all your Declares coding taken care of (look ma: no typos!).
  28.  
  29. Upon startup, the default drive's file names are automatically scanned
  30. and its *.BAS and *.GLO files appear in the file list. By changing the
  31. drive in the drive control, you can choose to either replace the file
  32. list box contents or to add files from that drive to the existing list.
  33.  
  34. I've used *.BAS and *.GLO as extentions for code-only modules (which is
  35. where Declares live). *.GLO seems to have pretty much established itself
  36. as a pseudo-standard for global modules. I've seen the odd *.GLB (and such)
  37. extention too, but hey: I'm giving you the source code, so if you're using
  38. something exotic, feel free to alter the program to your heart's content.
  39.  
  40. VB_2_EXT uses three clever DLLs written by clever people. CTLHWND.DLL is
  41. by Jonathan Zuck. For FRAMES.DLL and QSEARCH.DLL I can't find a name on
  42. my hard disk (sorry guys), but both DLLs offer more functions, and you can
  43. download the originals with the documentation from CompuServe's VB/WIN
  44. forum.
  45.  
  46. This program is JokeWare - if you like it & use it, please send me your
  47. favorite joke via E-mail (CompuServe 100012,74). Same address for ideas
  48. as to improvements, bug reports (bug reports? bugs? in my programs??).
  49.  
  50.  
  51. Dave Th. Hutmacher
  52. Zurich, Switzerland
  53.